import { Controller, Get } from "@nestjs/common";
import { wrapperResponse } from "src/utils";
import { OssService } from "./oss.service";

@Controller('/oss')
export class OssController {
    constructor(
        private readonly ossService:OssService
    ) {}
    @Get('getSign')
    getSign() {
        return wrapperResponse(
            this.ossService.getSignature(),
            '获取成功'
        )
    }
}